package com.ms.demo.staticproxy;

/**
* @Description: 真实对象（目标对象/被代理对象）
* @Param:
* @return:
* @Date: 2022/10/26 17:22
*/
public class RealImage implements Image{

    private String fileName;

    public RealImage(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public void display() {
        System.out.println("Displaying " + fileName);
    }

}